package com.chzc.fm.duotin.utils;

import com.chzc.fm.duotin.bean.channel.ChannelType;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by BillSinla on 2016/6/23.
 */
public class GlobalParam {

    /**
     *用户的标识，如果没有则弹出登录菜单
     */
    public static String USER_KEY = "";

    public static String SUCCESS = "success";
    public static String ERROR_MSG = "error_msg";
    public static String DATA = "data";

    /**
     * 频道页面数据
     */
    public static boolean TAG_HOT_VALUE = true;
    public static List<ChannelType> toptypeList = new ArrayList<>();
    public static List<ChannelType> bottontypeList = new ArrayList<>();

    /**
     * 我的个人信息编辑的URL
     */
    public static String INFO_URL = "http://api.duotin.com/user/get?platform=android&source=&longitude=&package=com.duotin.fm&user_key=ce2aea08904c06e5e6d435b210a8c939&version=2.7.17&latitude=&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW&channel=duotin&device_key=000000000000000";

    /**
     * 我的主界面的URL
     */
    public static String MINE_URL = "http://api.duotin.com/Message/usercenter?platform=android&source=&longitude=&package=com.duotin.fm&user_key=ce2aea08904c06e5e6d435b210a8c939&version=2.7.17&latitude=&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW&channel=duotin&device_key=000000000000000";

    /**
     *主页面Home的URL
     */
    public static String HOME_URL = "http://api.duotin.com/homepage/index?platform=android&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&latitude=&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW&channel=duotin&device_key=000000000000000";


    /**
     * 频道模块主界面
     */
    public static String URL_CHANNEL="http://api.duotin.com/user/subscribecategories?platform=android&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&channel=m360&device_key=000000000000000";
    /**
     * 频道模块中，主播电台页面的url
     */
    public static final String URL_ANCHOR ="http://api.duotin.com/radio/index?device_key=000000000000000&platform=android&source=&device_token=AuYPXmtKg84G14zX3DOFbPYxdFZTgnJ6fhJmWo43jusK&user_key=c832e4d182d020b17096354a29b61026&package=com.duotin.fm&longitude=&latitude=&channel=m360&version=2.7.17";

    /**
     * 频道模块中主播页面，分类金榜中的更多URL
     */
    public static final String URL_TYPEANCHOR = "http://api.duotin.com/tag/list?platform=android&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&channel=m360&device_key=000000000000000";

    /**
     * 频道模块中主播页面，新晋主播更多URL
     */
    public static final String URL_NEWANCHOR = "http://api.duotin.com/album/new?platform=android&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&page_size=20&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&page=1&channel=m360&device_key=000000000000000";


    /**
     * 频道模块的，话题页面的Url
     */
    public static final String URL_TOPIC = "http://api.duotin.com/topic/list?platform=android&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&page_size=20&latitude=&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW&page=1&channel=duotin&device_key=000000000000000";


    /**
     * 频道模块的，榜单页面的url
     */
    public static final String URL_RANK = "http://api.duotin.com/homepage/index?platform=android&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&latitude=&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW&type=ranking-list&channel=duotin&device_key=0000000000000";


    /**
     * 频道模块，电台页面的url
     */
    public static final String URL_RADIO = "http://api.duotin.com/live/list?platform=android&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&channel=m360&device_key=000000000000000";

    /**
     * 频道页面，热门频道的url
     */
    public static final String URL_HOTTOP_HEAD = "http://api.duotin.com/category/subcategories?platform=android&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&category_id=";
    public static final String URL_HOTTOP_TAIL = "&channel=m360&device_key=000000000000000";
    public static final String URL_HOTBOTTON_HEAD = "http://api.duotin.com/category/content?source=&longitude=&sub_category_id=0&device_key=000000000000000&platform=android&package=com.duotin.fm&user_key=&sort_type=2&version=2.7.17&page_size=20&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&category_id=";
    public static final String URL_HOTBOTTON_TAIL = "&page=1&channel=m360";
    /**
     * 分类金榜URL
     */
    public static final String URL_TALKSHOW_HEAD = "http://api.duotin.com/tag/search?platform=android&source=&longitude=&package=com.duotin.fm&user_key=&tag_id=";
    public static final String URL_TALKSHOW_TAIL = "&version=2.7.17&page_size=20&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&page=1&channel=m360&device_key=000000000000000";
    /**
     * 具体的话题 青春
     */
    public static final String URL_SPECIFIC_HEAD = "http://api.duotin.com/topic/albums?platform=android&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&page_size=20&latitude=&topic_id=";
    public static final String URL_SPECIFIC_TAIL = "&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&page=1&channel=m360&device_key=000000000000000";

    /**
     * 收听榜今日url
     */
    public static final String URl_LISTENER_TODAY = "http://api.duotin.com/rank/listen?platform=android&period_type=day&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&page_size=20&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&page=1&channel=m360&device_key=000000000000000";

    /**
     * 收听榜本周url
     */
    public static final String URl_LISTENER_WEEK = "http://api.duotin.com/rank/listen?platform=android&period_type=week&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&page_size=20&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&page=1&channel=m360&device_key=000000000000000";

    /**
     * 收听榜本月url
     */
    public static final String URl_LISTENER_MONTH = "http://api.duotin.com/rank/listen?platform=android&period_type=month&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&page_size=20&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&page=1&channel=m360&device_key=000000000000000";

    /**
     * 订阅今日url
     */
    public static final String URL_BOOK_TODAY = "http://api.duotin.com/rank/subscribe?platform=android&period_type=day&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&page_size=20&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&page=1&channel=m360&device_key=000000000000000";
    /**
     * 订阅本周url
     */
    public static final String URL_BOOK_WEEK = "http://api.duotin.com/rank/subscribe?platform=android&period_type=week&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&page_size=20&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&page=1&channel=m360&device_key=000000000000000";
    /**
     * 订阅本月url
     */
    public static final String URL_BOOK_MONTH = "http://api.duotin.com/rank/subscribe?platform=android&period_type=month&source=&longitude=&package=com.duotin.fm&user_key=&version=2.7.17&page_size=20&latitude=&device_token=Ai6Eh3n_cBR5yJk94y4l3w_6L5Q13xqpAsJVHJFXlNEW&page=1&channel=m360&device_key=000000000000000";
    /**
     * 评论今日url
     */
    public static final String URL_COMMENT_TODAY = "http://api.duotin.com/rank/comment?platform=android&period_type=day&source=&longitude=&package=com.duotin.fm&user_key=ead2086b402214ed501b606d53d9600a&version=2.7.17&page_size=20&latitude=&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW&page=1&channel=duotin&device_key=000000000000000";
    /**
     * 评论本周url
     */
    public static final String URL_COMMENT_WEEK = "http://api.duotin.com/rank/comment?platform=android&period_type=week&source=&longitude=&package=com.duotin.fm&user_key=ead2086b402214ed501b606d53d9600a&version=2.7.17&page_size=20&latitude=&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW&page=1&channel=duotin&device_key=00000000000000";
    /**
     * 评论本月url
     */
    public static final String URL_COMMENT_MONTH = "http://api.duotin.com/rank/comment?platform=android&period_type=month&source=&longitude=&package=com.duotin.fm&user_key=ead2086b402214ed501b606d53d9600a&version=2.7.17&page_size=20&latitude=&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW&page=1&channel=duotin&device_key=0000000000000";

    /**
     * 排行榜中的专题精榜url
     */
    public static final String URL_SPECIALRANK_HEAD = "http://api.duotin.com/ranking/content?platform=android&source=&id=";
    public static final String URL_SPECIALRANK_TAIL = "&longitude=&package=com.duotin.fm&user_key=ead2086b402214ed501b606d53d9600a&version=2.7.17&latitude=&device_token=AtgTNuvw2Y3ct8rEogirZvAtfCzdjW871cbIy9ZMY3uW&channel=duotin&device_key=000000000000000";

    /**
     * 直播电台播放的url
     */
    public static final String URL_LIVEPLAY_HEAD = "http://api.duotin.com/live/detail?page_size=10&device_key=864394107420848&platform=android&device_token=Alh9lJLZ-OzgErDIlP1k7mUPaym19e7wq-cs_RXcplxW&user_key=ce2aea08904c06e5e6d435b210a8c939&package=com.duotin.fm&longitude=119.23576999999999&latitude=26.08729166666667&channel=duotin&live_id=";
    public static final String URL_LIVEPLAY_TAIL = "&version=2.7.17";
}
